Skip to content

CLN: remove BlockManager.get #33052

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 15, 2020
Merged

CLN: remove BlockManager.get #33052

merged 6 commits into from
Apr 15, 2020

Conversation

jbrockmendel
Copy link
Member

This should not be merged until after #33047 and #33045, since the assertions made here will not always hold until then.

@WillAyd
Copy link
Member

WillAyd commented Mar 27, 2020

Looks good - any perf implications?

@jbrockmendel
Copy link
Member Author

any perf implications?

_getitem_multilevel calling _ixs instead of _get_item_cache is slightly higher-level, and we lost a little ground on the columns.is_unique assertions, then make up some ground with unnecessary checks in BlockManager.get being removed. It's about a wash.

@jreback jreback added the Indexing Related to indexing on series/frames, not to indexes themselves label Mar 29, 2020
@jreback jreback added this to the 1.1 milestone Mar 29, 2020
@jbrockmendel
Copy link
Member Author

Updated so as to not be blocked by #33047.

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm @jreback

@jbrockmendel jbrockmendel added Internals Related to non-user accessible pandas implementation Refactor Internal refactoring of code labels Apr 15, 2020
@jreback jreback merged commit a942836 into pandas-dev:master Apr 15, 2020
@jbrockmendel jbrockmendel deleted the mgr-get branch April 15, 2020 19:37
CloseChoice pushed a commit to CloseChoice/pandas that referenced this pull request Apr 20, 2020
* CLN: remove BlockManager.get

* Remove assertions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Indexing Related to indexing on series/frames, not to indexes themselves Internals Related to non-user accessible pandas implementation Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants